﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebCalendar.Models.DTOs
{
    public class CalendarIndexDTO
    {
        public int Year { get; set; }
        public int Month { get; set; }
        public Calendar Calendar { get; set; }
        public DateTime DateToShow { get; set; }
        public int CalendarID { get; set; }
        public Role Role { get; set; }
    }
    public class CalendarMenuDTO
    {
        public CalendarMenuDTO(CalendarIndexDTO calendarIndexDTO, string title)
        {
            Year = calendarIndexDTO.Year;
            Month = calendarIndexDTO.Month;
            Calendar = calendarIndexDTO.Calendar;
            CalendarID = calendarIndexDTO.CalendarID;
            DateToShow = calendarIndexDTO.DateToShow;
            Title = title;
        }
        public int Year { get; set; }
        public int Month { get; set; }
        public Calendar Calendar { get; set; }
        public DateTime DateToShow { get; set; }
        public int CalendarID { get; set; }
        public string Title { get; set; }
    }
}